<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{% block title %}迷你博客{% endblock %}</title>
    <link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}">
    {% block styles %}
    {% endblock %}
</head>
<body>
    <nav class="navbar navbar-default">
        <div class="container">
            <div class="navbar-header" style="width: 100%; text-align: center;">
                <a class="navbar-brand brand-link" href="/blog" style="color:white; float: none; display: inline-block;">博客——"张三"的主页</a>
            </div>
            <ul class="nav navbar-nav navbar-right">
                <li><a href="{{ url_for('auth.login') }}" style="font-size: 24px;font-weight: bold; color: white">登录</a></li>
            </ul>
        </div>
    </nav>

    <div class="container">
        {% block content %}
        {% endblock %}
    </div>

    <footer class="footer">
        <p>© 2024 Mini Blog. All rights reserved.</p>
    </footer>

    <script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script>
    {% block scripts %}
    {% endblock %}
</body>
</html>